package com.itheima.edu.info.maneger.dao;

import com.itheima.edu.info.maneger.domain.Student;

import java.util.ArrayList;

public interface BaseStudentDao {

    //查找所有学生
    public abstract Student[] findAllStudent();
    //添加学生
    public abstract boolean addStudent(Student student);
    //删除学生
    public abstract void deleteStudent(String id);
    //获取索引
    public abstract int getIndex(String id);
    //修改学生
    public abstract void updateStudent(String updateId, Student newstudent);
}
